import {get,post} from './request'


//登录
export const login=(params) =>post(`/user/loginAdmin`,params) 
//注册用户
export const registered=(params) =>post(`/user/add`,params)
//根据用户名查询用户信息
export const getByUserName=(params) =>get(`/user/getByUserName`,params)
